package com.xbongbong.schedule.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@ToString
@Getter
@Setter
public class ScheduleTaskCancelDTO extends BaseDTO {

    private static final long serialVersionUID = -4007654896625577892L;

    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.common.formId.NotNull}")
    private Long formId;
    /**
     * 数据id
     */
    @NotNull(message = "{dto.msg.formDataGet.dataId.NotNull}")
    private Long dataId;
    /**
     * 关联id
     */
    private Long refId;
    /**
     * 业务类型
     */
    @NotNull(message = "{constant.errorMessage.business_type_cannot_empty}")
    private Integer businessType;
    /**
     * 任务类型
     */
    @NotNull(message = "{dto.schedule.task.type.NotNull}")
    private Integer scheduleType;
    /**
     * Saas或者Paas业务区分
     */
    @NotNull(message = "{dto.msg.common.saasMark.NotNull}")
    private Integer saasMark;

}
